The foreground shader class enables post-processing operations to be applied to the image during the shading pipeline.
Foreground shaders may be used to simulate atmospheric effects such as fog, or depth cueing. They may also be used in combination with background shaders to perform compositing operations.
We provide herewith names and descriptions of foreground shaders:
"depth cue"
A linear attenuation within a specified depth range.
"fog"
An exponential attenuation for atmospheric simulation.
"fog light"
Used to create a fog halo around a light source.
"ground fog"
Fog which is more intense closer to the ground.
"light scatter"
Volumetric light scattering effects (e.g., handles spot lights in fog).
"snow"
Gives the effect of snow falling in the foreground.